<div class="content">
	<form class="form-horizontal" name="cpForm" ng-submit="vm.submitForm(cpForm.$valid)" novalidate>
		<div class="ibox">
            <div class="ibox-title">
                <h5>设备信息</h5>
            </div>
            <div class="ibox-content">
                <div class="form-group">
                    <label class="col-lg-3 control-label">设备名称 <b class="text-danger">*</b></label>
                    <div class="col-lg-3">
                        <input type="text" name="cpIndex" class="form-control" ng-model="vm.equipmentName" disabled required value="">
                    </div>
                </div>
            	<div class="form-group">
                    <label class="col-lg-3 control-label">关联计时点 <b class="text-danger">*</b></label>
                    <div class="col-lg-3">
                        <select id="select" class="form-control" ng-model="vm.cpPoint" ng-options="item.cp_name for item in vm.cplist" required>
                            <option value="">请选择CP点</option>
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-lg-offset-3 col-lg-3">
                        <button type="button" class="btn btn-sm btn-default" ui-sref="dashboard.race.equipmentlist"><i class="fa fa-times"></i>取消</button>
                        <button type="submit" class="btn btn-sm btn-primary"><i class="fa fa-save"></i>保存</button>
                        <button type="button" class="btn btn-sm btn-danger" ng-click="vm.deleteItems()"><i class="fa fa-trash-o"></i>删除</button>
                    </div>
                </div>
            </div>
        </div>
	</form>
</div>